<script setup>
import { setItem } from '@/utils/storage'

window.addEventListener('beforeunload', () => {
  setItem('store', $store.state.tab)
})
</script>

<template>
  <div>
    <router-view />
  </div>
</template>

<style>
::-webkit-scrollbar {
  width: 5px;
  height: 1px;
}

::-webkit-scrollbar-thumb {
  background-color: #a1a3a9;
  border-radius: 3px;
}

.el-loading-mask{
  background: rgba(255,255,255,0.4);
}
</style>
